#ifndef RFID_H
#define RFID_H
#include <QtSerialPort/QSerialPort>
#include <QtSerialPort/QSerialPortInfo>
#include <QtCore/QDebug>
#include <QThread>
#include <QObject>
class RFID: public QObject
{
    Q_OBJECT
public:
    explicit RFID(QObject *parent = 0);
    QString ReadRF();
    ~RFID();
private:
     QSerialPort *serial;
     QString rf,txt;


public slots:
     void ReadData();
};


#endif // RFID_H
